(PHP 4, PECL pdflib >= 1.0.0)
PDF_translate — Sets origin of coordinate system
The PDF_translate() function sets the origin of coordinate system to the point (x-coor , y-coor ) relativ the current origin. The following example draws a line from (0, 0) to (200, 200) relative to the initial coordinate system. You have to set the current point after PDF_translate() and before you start drawing more objects.
Example #1 Translation